<h1>Approved Invited Users:</h1>
<ul>
<?php
foreach ($this->invitedUsers['active'] as $activeInvitedUser) {
	$url = $this->url(array('controller'=>'invitation', 'action'=>'invitationlistmodify', 'do'=>'delete', 'id'=>$this->invitation->id, 'uid'=>$activeInvitedUser->id));
	echo '<li>'.$activeInvitedUser->email.' <a href='.$url.'>Delete</a></li>';
}
?>
</ul>
<h1>Unapproved Invited Users:</h1>
<ul>
<?php
foreach ($this->invitedUsers['pending'] as $pendingInvitedUser) {
	$url = $this->url(array('controller'=>'invitation', 'action'=>'invitationlistmodify', 'do'=>'approve', 'id'=>$this->invitation->id, 'uid'=>$pendingInvitedUser->id));
	echo '<li>'.$pendingInvitedUser->email.'  <a href='.$url.'>Approve</a></li>';
}
?>
</ul>
